package com.lanqiao.companymanage.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lanqiao.companymanage.entity.Management;

/**
 * @author 何小棍
 * 经营信息管理与添加
 */
public interface OperatingMessService extends IService<Management> {
    /**
     * 分页查询
     */
    Page<Management> listPage(Page<Management> operatingMessPage);
    /**
     * 根据id查询
     * @param id
     * @return
     */
    Management selectById(Integer id);

    /**
     * 经营信息管理添加
     * @param operatingMess
     * @return
     */
    int addOperatingMess(Management operatingMess);
    /**
     * 根据id删除
     */
    int deleteById(Integer id);

    /**
     * 根据id修改
     */
    int updateOperatingMess(Management operatingMess);
}
